<nav-bar-panel></nav-bar-panel>
<div class="content container">
    <h1>登陆</h1>
    <form>
        <div class="form-group">
            <label>用户名:</label>
            <input type="text" class="form-control" ng-model="username" placeholder="用户名">
        </div>
        <div class="form-group">
            <label>密码:</label>
            <input type="password" class="form-control" ng-model="password" placeholder="密码">
        </div>
        <div class="form-group">
            <label>验证码:</label>
            <input type="text" class="form-control" ng-model="captcha" placeholder="验证码"/>
            <img ng-src="{{captchaUrl}}" alt="" style="width:40px; height: 20px"/>
            <button class="btn btn-danger btn-xs" ng-click="refreshCaptcha()">刷新</button>
        </div>
        <button type="button" class="btn btn-default"
                ng-click="login(username, password,captcha); password=''; captcha=''">登陆
        </button>
    </form>
</div>
<footer-bar-panel></footer-bar-panel>